package com.cfs.dao.bz;

import java.util.List;

import javax.ws.rs.PathParam;

import com.cfs.po.bz.TreeNode;
import com.cfs.vo.Condition;

public interface TreeNodeDao {
	public Long insert(TreeNode t);

	public Long update(TreeNode t);

	public TreeNode get(@PathParam("id")Long id);
	
	public Integer delete(@PathParam("id")Long id);

	public List<TreeNode> list(Condition c);

	public List<TreeNode> listAll();
	
	public List<TreeNode> query(@PathParam("col_id")Long col_id);
}
